BaseSubsystem.GetWordVariable 方法

取得使用者定义变数的细节(无符号短整数)。

命名空间IntervalZero.KINGSTAR.Base.Class

组合: IntervalZero.KINGSTAR.Base.Class (于 IntervalZero.KINGSTAR.Base.dll) 版本:4.4.0.0

语法

C#VB
IUserVariable<ushort> GetWordVariable(
       string Name,
       IUserVariable Parent = null
)
Function GetWordVariable(
       Name As String,
       Parent = null As IUserVariable
) As IUserVariable(Of UShort)

参数

Name

型别:string

变数名称。

 

Parent

型别:IUserVariable

预设值:null

IUserVariable 的父资料夹,预设会从根资料夹取得变数。

备注

回传值

型别:IUserVariable<ushort>

回传一个使用者定义变数(无符号短整数)。

可用的 EtherCAT 状态

ecatOffline, ecatInit, ecatBoot, ecatPreOP, ecatSafeOP, ecatOP

参见

BaseSubsystem 类别

IntervalZero.KINGSTAR.Base.Class 命名空间